<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<fmt:setBundle basename="ApplicationMessage" />
<fmt:setLocale value="zh_CN" />

<div class="form-horizontal">
	<div class="form-group">
	  <label class="control-label col-xs-2">姓名：</label>
	  <div class="col-xs-4 pull-left">
	    <p class="form-control-static">${agent.name}</p>
	  </div>
	  <label class="control-label col-xs-2">手机号：</label>
	  <div class="col-xs-4 pull-left">
	    <p class="form-control-static">${agent.mobile}</p>
	  </div>
	</div>
	
	<div class="form-group">
	  <label class="control-label col-xs-2">邮箱：</label>
	  <div class="col-xs-4 pull-left">
	    <p class="form-control-static">${agent.user.mailbox}</p>
	  </div>
	</div>
	<div class="form-group">
	  <label class="control-label col-xs-2">结算账号：</label>
	  <c:if test="${not empty agent.webchatId}">
	    <div class="col-xs-4 pull-left">
	      <p class="form-control-static">微信号：${agent.webchatId}</p>
	    </div>
	  </c:if>
	  <c:if test="${not empty agent.account}">
	    <div class="col-xs-4 pull-left">
	      <p class="form-control-static">支付宝：${agent.account}，真实姓名：${agent.realName}</p>
	    </div>
	  </c:if>
	</div>
</div>